﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Keepo.Models;

namespace AlbumDesigner.Controllers
{
    public class GalleryController : Controller
    {
        //
        // GET: /Gallery/

        private AlbumContext db = new AlbumContext();

        public ActionResult Index()
        {
            // Page meta
            PageMeta pageMeta = db.PageMetas.First(p => p.Name == "גלריה");
            ViewBag.Description = pageMeta.Description;
            ViewBag.Keywords = pageMeta.Keywords;
            ViewBag.Title = pageMeta.Title;

            return View();
        }

    }
}
